import axios from '@/utils/request'
import BaseService from '@/api/base/base'

class RdmoduleService extends BaseService {
  /**
   * @description: 查询子表明细
   * @return {*}
   */
  getInfo(jzdm) {
    return axios.get(`${this.modulePath}/getInfo`, { params: { itmMstrJzdm: jzdm } })
  }
  /**
   * @description: 报表查询
   * @return {*}
   */
  getReport(jzdm, fileType) {
    return axios.get(`${this.modulePath}/listResearchDataReportByJzdm`, { params: { itmMstrJzdm: jzdm, fileType: fileType } })
  }
  /**
   * @description: 报表查询
   * @return {*}
   */
  getKpiReport(params) {
    return axios.get(`${this.modulePath}/listKpiReportByJzdm`, { params })
  }
}
export default new RdmoduleService('rdmodule/researchData')
